[Setup]
AppName=ColorTray
AppVersion=0.1
AppPublisher=Ole Andre Rodlie
AppPublisherURL=http://colortray.googlecode.com
AppSupportURL=http://colortray.googlecode.com
AppUpdatesURL=http://colortray.googlecode.com
DefaultDirName={pf}\ColorTray 0.1
DefaultGroupName=ColorTray 0.1
AllowNoIcons=yes
OutputBaseFilename=colortray-0.1-win32
LicenseFile=WIN32_LICENSE.TXT
OutputDir=..\release
SetupIconFile=..\tray.ico
Compression=lzma2
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "..\release\colortray.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\release\libgcc_s_dw2-1.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\release\mingwm10.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\release\QtCore4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\release\QtGui4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\release\xcalib.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "WIN32_LICENSE.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\README.txt"; DestDir: "{app}"; Flags: ignoreversion

[Icons]
Name: "{group}\ColorTray"; Filename: "{app}\colortray.exe"
Name: "{group}\{cm:UninstallProgram,ColorTray}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\ColorTray"; Filename: "{app}\colortray.exe"; Tasks: desktopicon

[Run]
Filename: "{app}\colortray.exe"; Description: "{cm:LaunchProgram,ColorTray}"; Flags: nowait postinstall skipifsilent

